/*
Generic Doubly Linked List and Persistent Settings project
Author: Mark Newcomb Jr.

*/


#include "PersistentSettings.h"
#include <iostream>



int main()
{
	
	std::cout<<"\nWaiting for you...\n";
	std::cin.get();
	
	std::cout<<"\nStarting...";



	PersistentSettings* SettingMgr = new PersistentSettings("settings.ini");
	
	SettingMgr->Set<int>("app.test",10);
	SettingMgr->Set<int>("app.test2",11);
	SettingMgr->Set<int>("app.test3",12);
	SettingMgr->Set<bool>("app.testbool",true);
	SettingMgr->Set<bool>("app.falsebool",false);
	SettingMgr->Set<char*>("app.testchar","Hello, and welcome.");
	
	SettingMgr->Save("settings.ini");
	std::cout<<"Success?\n";
	




return 0;
}